import React from "react";
import ReactDOM from "react-dom";

import { BrowserRouter as Router } from "react-router-dom";
import App from "./App";
import zhCN from "antd/lib/locale/zh_CN";
import { ConfigProvider } from "antd";

import { Provider } from "react-redux";
import store from "./store/index"
import 'antd/dist/antd.css'

ReactDOM.render(
    <Provider store = {store}>
        <ConfigProvider locale={zhCN}>
            <Router>
                <App/>
            </Router>
        </ConfigProvider>
    </Provider>,
    document.getElementById('app')
)

